﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.Sql;
using System.Xml;
using System.Drawing;
using System.Linq;
using Telerik.Web.UI;
using System.Web.UI.HtmlControls;


namespace Reconciliation
{
    partial class Reconciliation_Case : System.Web.UI.Page
    {


        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                HeadMenu.MenuID = 0;
                RadDatePicker1.SelectedDate = DateTime.Today;
                RadGridOrderList.DataSourceID = "LinqDataSourceOrderAll";
                //  string s = Request.QueryString["OrderID"].ToString();

                //  lblOrderDetails.Text = s;
            }
            else
            {
                RadGridOrderList.DataSourceID = "LinqDataSourceOrder";
            }
            //  string s = Request.QueryString["OrderID"].ToString();

            //  lblOrderDetails.Text = s;

        }




        //protected void ddlBank_OnSelectedIndexChanged(object sender, EventArgs e)
        //{
        //    LinqDataSourceOrder.Select.Contains(ddlBank.SelectedItem.Text);
        //    LinqDataSource ln = new LinqDataSource();
        //    ln = LinqDataSourceOrder;
        //    System.Data.DataTable dt = new System.Data.DataTable();
        //    dt = ln;
        //    RadGridOrderList.DataSource = ln;
        //    RadGridOrderList.DataSourceID = String.Empty;
        //    RadGridOrderList.DataBind();
        //} 


    }
  
}
